package com.qianli.cashmama.trade.dao;

import com.fqgj.common.base.BaseMapper;
import com.qianli.cashmama.trade.entity.TBankInfoEntity;

import java.util.List;

/**
 * User: sm
 * Date: 2017-07-21
 * Time: 09:10:21.052
 */

public interface TBankInfoDao extends BaseMapper<TBankInfoEntity> {
    /**
     * @param tradeNo
     * @return
     */
    TBankInfoEntity selectOneByTradeNo(String tradeNo);

    /**
     * @param tBankInfoEntity
     * @return
     */
    Integer updateByTradeNo(TBankInfoEntity tBankInfoEntity);


    /**
     * @param tradeNos
     * @return
     */
    List<TBankInfoEntity> selectListByTradeNos(List<String> tradeNos);

    /**
     * @param identityNo
     * @return
     */
    List<TBankInfoEntity> selectListByIdentityNo(String identityNo);
}